
<html>
	<head>
		<title>Formulae editor</title>
		<script type="text/javascript" src="org/mathdox/formulaeditor/main.js">
		</script>

		<script language="javascript">function copyit()
{
var v=document.getElementById("formula1").value;
window.clipboardData.setData("text",v);
}</script>
	</head>
	<body>
		<textarea id="formula1" class="mathdoxformula" border="2"></textarea>
		<div>
			<a href="javascript:alert(document.getElementById(&quot;formula1&quot;).value)">get OpenMath</a>
			
				<input type="button" onclick="copyit();" value="copy">
				</input>
		
		</div>


		<div>
			<a href="javascript:alert(org.mathdox.formulaeditor.FormulaEditor.getEditorByTextArea(&quot;formula1&quot;).getMathML())">get MathML</a>
		</div>
	</body>
</html>